Arch Linux中使用VMware Workstation不能打开vmmon内核模块

打开VMware Workstation出现错误提示:Could not open /dev/vmmon: No such device.Please make sure that the kernel module `vmmon’ is loaded.

解决方法1

你可以在启动VMware前运行/etc/init.d/vmware start来启动服务

解决方法2

在Arch Linux上可以通过安装vmware-systemd-serverices这个AUR包,来添加systemctl服务

  • 使用systemctl enable vmware.service让它每次开机都运行
  • 使用systemctl start vmware.service让它临时启动

解决方法3

添加这个文件
/etc/systemd/system/vmware.service

[Unit]
Description=VMware daemon
Requires=vmware-usbarbitrator.service
Before=vmware-usbarbitrator.service
After=network.target

[Service]
ExecStart=/etc/init.d/vmware start
ExecStop=/etc/init.d/vmware stop
PIDFile=/var/lock/subsys/vmware
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
  • 使用systemctl enable vmware.service让它每次开机都运行
  • 使用systemctl start vmware.service让它临时启动
posted @ 2018-02-18 10:44  zhuxiaoxi  阅读(3375)  评论(0编辑  收藏  举报